Conversation
|
Here's something I should have thought to suggest before any PR: (Ideally inside your virtual environment to be sure you have the The I'm also seeing unit test failures -- I'm worried that your local environment setup is somehow different from the GitHub CI environment, which is unfortunate. |
dbutenhof
left a comment
There was a problem hiding this comment.
I'm concerned about the mingling of the mock Elasticsearch and ElasticService ... I think this needs to be cleaned up to avoid future problems. There are a few other comments, but mostly this looks good aside from that main issue.
I think that a new split-off FakeElasticService might be essentially just the new methods you added to FakeAsyncElasticsearch, so it may not be that hard to fix.
(And sorry I didn't finish this yesterday ... I got halfway through before sprint planning, then got distracted and didn't get back to it!)
dbutenhof
left a comment
There was a problem hiding this comment.
I think there are a few possible "refinements" in the open discussions, so let's resolve those before we finalize ... but this is looking good!
dbutenhof
left a comment
There was a problem hiding this comment.
This looks good.
FYI -- for future reference, let's adopt a convention that's been successful in the past ... if only the reviewer marks comments as "resolved" it's easier for that reviewer to check them off against subsequent changes since GitHub makes them easily accessible through the "Conversations" pulldown ... whereas finding them in the Conversation tab can be a lot more awkward.
Type of change
Description
Created unit test files...
...all for backend. Achieved 100% test coverage on all (with the exception of utils.py at 99%).
Assisted-by: Cursor
Related Tickets & Documents
Checklist before requesting a review
Testing